home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ NetMeeting 1.xpl < prev    next >
Text File  |  2000-08-07  |  2KB  |  80 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="3"
  4. "UIPATH"="Internet\NetMeeting"
  5. "NAME"="URL Settings"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.21"
  8. "TEXT 1"="Homepage URL"
  9. "TEXT 2"="Default Server"
  10. "TEXT 3"="Support URL"
  11. "DESCRIPTION 1"="Some options for Microsoft NetMeeting can be changed here. The default URL for "Default Server" is "logon.netmeeting.microsoft.com"."
  12. "DESCRIPTION 2"="NOTE: To restore the default settings, clear the fields."
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17.  
  18.  
  19. sPath="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\"
  20. sV1="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\NetMeeting Home Page"
  21. sV2="HKEY_CURRENT_USER\Software\Microsoft\User Location Service\Client\Server Name"
  22. sV3="HKEY_CURRENT_USER\Software\Microsoft\Conferencing\Policies\IntranetSupportURL"
  23.  
  24. Sub Plugin_Initialize 
  25.  if RegPathExists(sPath) then
  26.     s=RegReadValue(sV1)
  27.     SetUIElement 1,s
  28.  
  29.     s=RegReadValue(sV2)
  30.     SetUIElement 2,s 
  31.  
  32.     s=RegReadValue(sV3)
  33.     SetUIElement 3,s
  34.  else
  35.     Disable
  36.  end if
  37. End Sub
  38.  
  39.  
  40. Sub Plugin_CheckData(ElementIndex)
  41. End Sub
  42.  
  43.  
  44.  
  45. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  46.  s=GetUIElement(1)
  47.  if len(s)=0 then
  48.     s=RegReadValue(sV1)
  49.     if IsEmpty(s)=false then Call RegDeleteValue(sV1)
  50.  else
  51.     Call RegWriteValue(sV1,s,1)
  52.  end if
  53.  
  54.  
  55.  s=GetUIElement(2)
  56.  if len(s)=0 then
  57.     s=RegReadValue(sV2)
  58.     if IsEmpty(s)=false then Call RegDeleteValue(sV2)
  59.  else
  60.     Call RegWriteValue(sV2,s,1)
  61.  end if
  62.  
  63.  
  64.  s=GetUIElement(3)
  65.  if len(s)=0 then
  66.     s=RegReadValue(sV3)
  67.     if IsEmpty(s)=false then Call RegDeleteValue(sV3)
  68.  else
  69.     Call RegWriteValue(sV3,s,1)
  70.  end if
  71.  
  72. End Sub
  73.  
  74.  
  75. Sub Plugin_Terminate 
  76. End Sub
  77.  
  78.  
  79.  
  80.